﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="StudentHomePage.aspx.cs" Inherits="TestSystem.StudentHomePage" %>


<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>

<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        <asp:Label ID = "WelcomeLabel" runat = "server" />
    </h2>

    <p>
        考试列表：
        <asp:DataList ID = "TestList" runat = "server" >
            <ItemTemplate>
                <asp:Label ID = "Name" runat = "server">
                    <%# Eval("Name") %>
                </asp:Label>

                <asp:Label ID = "StartTime" runat = "server">
                    <%# Eval("StartTime") %>
                </asp:Label>

                <asp:Label ID = "EndTime" runat = "server">
                    <%# Eval("EndTime") %>
                </asp:Label>

                <asp:Button ID = "StartTestButton" Text = "开始测试" runat = "server" OnClick = "StartTestButton_Click" />

            </ItemTemplate>
        </asp:DataList>
    </p>
    
</asp:Content>